package world.snowcrystal.openapigateway;

import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;
import world.snowcrystal.commons.model.enums.SnowcrystalHeaders;


public class ColorizeGlobalFilter implements GlobalFilter {
    @Override
    public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
        String header = SnowcrystalHeaders.COLORIZE_HEADER.value();
        return chain.filter(exchange);
    }
}
